package org.ahuanlien.crm.mapper;

import org.ahuanlien.crm.domain.Product;
import org.ahuanlien.crm.query.QueryObject;

import java.util.List;

public interface ProductMapper {

    int deleteByPrimaryKey(Long id);

    int insert(Product record);

    Product selectByPrimaryKey(Long id);

    List<Product> selectAll();

    int updateByPrimaryKey(Product record);

	int queryForCount(QueryObject qo);

    List<Product> queryForList(QueryObject qo);

	void updateByTemOrder(Product product);
}